const app = getApp()

Page({
  data: {
    items: [],
    placeholder: "输入要搜索的内容"
  },
  
  onLoad: function () {

    var items = [
      { aid: "1", title: "张慧: 经营美乐家的心态误区", img: "http://himg2.huanqiu.com/attachment2010/2018/0331/05/35/20180331053542872.jpg" },
      { aid: "2", title: "陈海清: 敢比会更重要", img: "http://himg2.huanqiu.com/attachment2010/2018/0331/05/35/20180331053542872.jpg" }
    ];
    for (var i = 0; i < 6; ++i) {
      items = items.concat(items);
    }
    this.setData({ items: items });
  }

})
